package com.aegean.CommercialHotelBookSystem.hotel.dao;

import java.util.List;

import org.hibernate.Session;

import com.aegean.CommercialHotelBookSystem.model.Hotel;

public interface IHotelDao {
	public Session getSession();
	public void closeSession();
	public Hotel searchHotel(String hotelName);
	public Hotel saveHotel(Hotel obj);
	public List<Hotel> searchHotelList(int intpage,int intpagesize,String name,String city);
	public int searchHotelListCount(String name,String city);
	public Hotel editHotel(Hotel obj);
}
